package com.hjf.booking.constants;

public  class RspMessage {
	public final class BizCommon{
		public static final String SUCCESS = "success";//操作成功
		public static final String AUTH_ERROR = "not grant authorization";//操作未授权
		public static final String SERVER_ERROR = "server error";//服务器内部出错
		public static final String BAD_PARAMS_REQUEST = "bad request,params error";//参数请求有误
		public static final String MISS_MUST_PARAM = "miss required parameter";//缺少必要参数
		public static final String REPEAT_REQUEST = "repeat request";//重复请求
		public static final String FORBIDDEN = "now allowed this oper";
	}

	//按业务模块划分返回message信息
	public final class LoginModule{
		public static final String SMS_VERIFY_ERR = "短信验证失败";//短信验证失败
		public static final String SUCCESS = "登录成功";
		public static final String NO_ACCOUNT = "账号不存在";
		public static final String ACCOUNT_OR_PASSWORD_ERR = "账号或密码错误";
	}

	public final class RegisterModule{
		public static final String SUCCESS = "注册成功";
		public static final String NAS_ACCOUNT = "账号已存在";
	}

	public final class ExchangeModule{
		/**
		 * 商品已被抢购完
		 */
		public static final int  CODE_EXCHANGE_NO_STOCK = 10001;
		/**
		 * 当前抢购人数过多，请重试(乐观锁机制，超多用户竞争的情况)
		 */
		public static final int  CODE_EXCHANGE_RETRY = 10002;
		/**
		 * 不在抢购时间
		 */
		public static final int  CODE_EXCHANGE_TIME_OVER = 10003;
		/**
		 * 该活动组已被商家终止
		 */
		public static final int  CODE_EXCHANGE_ACTIVITY_STOPPED = 10004;
		/**
		 * 当前状态不允许此操作：订单核心判断逻辑之一，防止订单状态错乱
		 */
		public static final int  CODE_EXCHANGE_CURRENT_STATUS_NOT_ALLOWED = 10005;
		/**
		 * 当天抢购次数已达上限
		 */
		public static final int  CODE_EXCHANGE_ABOVE_DAY_LIMIT = 10006;
		/**
		 * 答题生成失败，无法抢购
		 */
		public static final int  CODE_EXCHANGE_QA_GEN_FAILED = 10007;
		/**
		 *【已废弃】答案核对次数已达上限
		 */
		public static final int  CODE_EXCHANGE_QA_ABOVE_CHECK_LIMIT = 10008;
		/**
		 * 已过提交的截止期限
		 */
		public static final int  CODE_EXCHANGE_DEADLINE_TIMEOUT = 10009;
		/**
		 * 账户的黑钻数不够支付此次抢购
		 */
		public static final int  CODE_EXCHANGE_BLACKDIAMOND_NOT_ENOUGH = 10010;
		//public static final int  CODE_EXCHANGE_GIVEUPED_NOT_JOIN_AGAIN = 10011;
		/**
		 * 已参与过的商品抢购不能再次参与
		 */
		public static final int  CODE_EXCHANGE_JOINED_NOT_JOIN_AGAIN = 10012;
		/**
		 * 订单号验证失败
		 */
		public static final int  CODE_EXCHANGE_VERIFY_PAY_ORDER_NO_WRONG = 10013;
		/**
		 * 由于商家反馈您存在订单处于申请退款状态，不允许签收，请联系淘猫侠客服处理
		 */
		public static final int  CODE_EXCHANGE_SALING_NOT_ALLOW_CONFIRM_RECEIVE = 10014 ;
		/**
		 * 签收失败，请确认淘宝订单是否确认已完成
		 */
		public static final int  CODE_EXCHANGE_NOT_CONFIRMED_TAOBAO_SIGNED_OR_REFUNDED = 10015;

		/**
		 * 订单号已被其它订单验证过，请勿重复验证
		 */
		public static final int  CODE_EXCHANGE_ORDER_PAY_NO_REPEAT = 10016;

		/**
		 *淘宝API订单接口出错
		 */
		public static final int  CODE_EXCHANGE_TAOBAO_ORDER_API_ERROR = 10017;
		/**
		 * 签收正在处理中，请勿重复提交
		 */
		public static final int  CODE_EXCHANGE_RECEIVE_PROCESSING_NO_REPEATE_OPER = 10018;

		/**
		 * 订单号已核对过，不允许放弃
		 */
		public static final int  CODE_EXCHANGE_ORDER_VERIFIED_NOT_ALLOW_GIVEUP = 10019;

		/**
		 * 今日已获得过该商品的答题奖励；
		   同一商品一天仅可参与一次答题
		 */
		public static final int  CODE_EXCHANGE_OR_LABEL_QA_NOT_ALLOWED = 10020;

		/**
		 * 必须完成问卷调查
		 */
		public static final int CODE_EXCHANGE_OR_LABEL_QI_MUST = 10021;

		/**
		 * 多个终端同时抢购
		 */
		public static final int CODE_EXCHANGE_MULTIPLE_SOURCING = 10022;

		/**
		 * 授权接口失效，需切换手动模式提交签收凭证截图
		 */
		public static final int  CODE_EXCHANGE_NOT_CONFIRMED_SWITCH_MANUAL = 10023;


		/**
		 * 等待商家确认提交的签收凭证截图
		 */
		public static final int  CODE_EXCHANGE_WAIT_MERCHANT_CONFIRM_RECEIVE_VOUCHER = 10024;

		/**
		 * 买家对商品的喜欢权重达到上限
		 */
		public static final int CODE_EXPERT_PRODUCT_WEIGHT_HIGHEST_LIMIT = 10025;

		/**
		 * 您还未在淘宝上付款
		 */
		public static final int  CODE_EXCHANGE_TAOBAO_STATUS_OF_WAIT_BUYER_PAY = 20000 ;

		/**
		 * 交易已被关闭
		 */
		public static final int  CODE_EXCHANGE_TAOBAO_STATUS_OF_TRADE_CLOSED_BY_TAOBAO = 20001;

		/**
		 * 淘口令已被使用过
		 */
		public static final int  CODE_EXCHANGE_TKL_HAS_USED = 20002;

		/**
		 * 淘口令为商家提供的淘口令
		 */
		public static final int  CODE_EXCHANGE_TKL_PROVIDE_BY_MERCHANT = 20003;

		/**
		 * 未查到该商家店铺授权，请联系客服
		 */
		public static final int  CODE_EXCHANGE_MERCHANT_SHOP_TOKEN_NOT_FOUND = 30001;

		/**
		 * 未查到该订单信息，请联系客服
		 */
		public static final int  CODE_EXCHANGE_MERCHANT_SHOP_ORDER_NOT_FOUND = 30002;

		/**
		 * 打标次数超过限制
		 */
		public static final int  CODE_LABEL_ABOVE_LIMIT = 30003;


		/**
		 * 打标待核对数量限制
		 */
		public static final int  CODE_LABEL_WAIT_VERIFY_LIST_LIMIT = 30004;
		/**
		 * 打标次数超过限制(每天不同商品最多打标2次)
		 */
		public static final int  CODE_LABEL_ABOVE_DAY_LIMIT = 30005;

		/**
		 * 核对订单号出错
		 */
		public static final int  CODE_EXCHANGE_VERIFY_ORDERNO_ILLEGAL = 40000;

		public static final int  CODE_EXCHANGE_ORDER_PAYAMOUNT_ILLEGAL = 40001;

		/**
		 * 被纳入黑名单，不能参与抢购
		 */
		public static final int  CODE_EXCHANGE_IN_BLACK_LIST = 70002;

		/**
		 * 需手动提交订单号
		 */
		public static final int  CODE_EXCHANGE_VERIFY_ORDERNO_MANUAL = 50000;


		/**
		 * 跳过验证淘口令
		 */
		public static final int  CODE_EXCHANGE_SKIP_VERIFY_TKL = 60000;


		/**
		 * 已在其它平台购买过，不能进行复购
		 */
		public static final int  CODE_EXCHANGED_IN_OTHER_PLATFORM = 70000;


		public static final int  CODE_EXCHANGE_NEED_AUDITING = 90000;


		public static final int  CODE_EXCHANGE_NO_QUALIFICATION = 9100;


		public static final String  EXCHANGE_NO_STOCK = "商品已被兑换完";
		public static final String  EXCHANGE_RETRY = "当前兑换人数过多，请重试";
		public static final String  EXCHANGE_TIME_OVER = "不在兑换时间";
		public static final String  EXCHANGE_ACTIVITY_STOPPED = "该活动组已被商家终止";
		public static final String  EXCHANGE_CURRENT_STATUS_NOT_ALLOWED = "当前状态不允许此操作";
		public static final String  EXCHANGE_ABOVE_DAY_LIMIT = "当天兑换次数已达上限";
		public static final String  EXCHANGE_QA_GEN_FAILED = "答题生成失败，无法兑换";
		//public static final String  EXCHANGE_QA_ABOVE_CHECK_LIMIT = "答案核对次数已达上限";
		public static final String  EXCHANGE_DEADLINE_TIMEOUT = "已过提交的截止期限";
		public static final String  EXCHANGE_MUST_PROCESS_FOR_QI = "兑换必须先完成问卷调查";
//		public static final String  LABEL_MUST_PROCESS_FOR_QI = "打标必须先完成加入收藏夹及购物车的问卷调查";
		public static final String  LABEL_MUST_PROCESS_FOR_QI = "请完成帮我选淘口令核对后再提交";
		public static final String  ACTIVITY_MUST_PROCESS_FOR_QI_SEARCH_PIC = "活动必须上传搜索截图";
		public static final String  ACTIVITY_MUST_PROCESS_FOR_QI_PRICE_SIMILAR_MORE = "其他店铺价格接近商品必须先上传相似商品列表截图";
		public static final String  EXCHANGE_BLACKDIAMOND_NOT_ENOUGH = "账户的黑钻数不够支付此次兑换";
		public static final String  EXCHANGE_GIVEUPED_NOT_JOIN_AGAIN = "已放弃过的活动不能再次参与";//统一纳入到"已参与"判断
		public static final String  EXCHANGE_JOINED_NOT_JOIN_AGAIN = "近期已参与过的商品兑换不能再次参与";
		public static final String  EXCHANGE_VERIFY_PAY_ORDER_NO_WRONG = "核对失败，请确认您购买的商品是正在参与兑换的商品并在此提交核对";
		public static final String  EXCHANGE_SALING_NOT_ALLOW_CONFIRM_RECEIVE = "由于商家反馈您存在订单处于申请退款状态，请联系淘猫侠客服处理该问题";
		public static final String  EXCHANGE_NOT_CONFIRMED_TAOBAO_SIGNED_OR_REFUNDED = "签收失败，请确认淘宝订单是否确认已完成或者已申请退款";
		public static final String  EXCHANGE_RECEIVE_PROCESSING_NO_REPEATE_OPER = "签收正在处理中，请勿重复提交";
		public static final String  EXCHANGE_ORDER_VERIFIED_NOT_ALLOW_GIVEUP = "订单号已核对过，不允许放弃";
		public static final String  EXCHANGE_OR_LABEL_QA_NOT_ALLOWED = "今日已获得过该商品的答题奖励，\"同一商品一天仅可参与一次答题";
		public static final String  EXCHANGE_NOT_CONFIRMED_SWITCH_MANUAL = "切换手动提交签收凭证模式";
		public static final String  EXCHANGE_WAIT_MERCHANT_CONFIRM_RECEIVE_VOUCHER = "等待商家确认提交的签收凭证截图";

		public static final String  EXCHANGE_MULTIPLE_SOURCING = "您正在兑换，请勿重复点击";


		public static final String  EXCHANGE_TKL_HAS_USED = "核对错误，该淘口令已被核对，请重新输入并核对淘口令";
		public static final String  EXCHANGE_TKL_PROVIDE_BY_MERCHANT = "核对错误，不能核对商家提供的淘口令，请重新输入并核对淘口令";

		public static final String  LABEL_PRODUCT_ABOVE_DAY_LIMIT = "该我喜欢活动您正在进行中或者您今日内已完成过";
		public static final String  LABEL_PRODUCT_ABOVE_WEEK_LIMIT = "该我喜欢活动您正在进行中或者您近7天内已完成过" +ConstantsRef.LABEL_DAY_TIMES_FOR_DIFFERENT_LIMIT_FOR_LIKE+ "次";
		public static final String  LABEL_WAIT_VERIFY_LIST_LIMIT = "您当前待核对活动数已达上限请核对成功后再继续领取活动";

		public static final String  LABEL_ABOVE_DAY_LIMIT = "每天可将" +ConstantsRef.LABEL_DAY_TIMES_FOR_DIFFERENT_LIMIT_FOR_LIKE+ "款商品加入喜欢清单；您今天已达上限，请明天再来参与";
		public static final String  LABEL_FOR_SUPERLIKE_ABOVE_DAY_LIMIT = "每天可将" +ConstantsRef.LABEL_DAY_TIMES_FOR_DIFFERENT_LIMIT_FOR_SUPERLIKE+ "款商品加入超级喜欢清单；您今天已达上限，请明天再来参与";





		public static final String  EXCHANGE_TAOBAO_STATUS_OF_WAIT_BUYER_PAY = "您还未在淘宝上付款";//(等待买家付款)
		public static final String  EXCHANGE_TAOBAO_STATUS_OF_TRADE_CLOSED_BY_TAOBAO = "交易已被关闭";//(付款以前，卖家或买家主动关闭交易)

		public static final String  EXCHANGE_ORDER_PAY_NO_REPEAT = "该订单号已核对，请勿重复核对";

		public static final String  EXCHANGE_TAOBAO_ORDER_API_ERROR = "核对订单出错";

		public static final String  EXCHANGE_MERCHANT_SHOP_TOKEN_NOT_FOUND = "未查到该商家店铺授权信息，请联系客服";

		public static final String  EXCHANGE_MERCHANT_SHOP_ORDER_NOT_FOUND = "未查到该订单信息，请重试或联系客服";

		public static final String  EXCHANGE_IN_BLACK_LIST = "兑换失败，您不符合领取该活动的条件";

		public static final String  EXCHANGE_NEED_AUDITING = "平台正在审核您的信息，审核通过后您即可参与活动，谢谢！";


		public static final String  EXCHANGE_NO_QUALIFICATION = "您目前信誉分还未达到，" +
				"请加微信号：13202915891，解锁更多的活动参与资格";


		public static final String  EXCHANGE_EXPERT_PRODUCT_WEIGHT_HIGHEST_LIMIT = "喜欢值已达上限";

		public static final String  EXCHANGE_VERIFY_ORDERNO_ILLEGAL = "您输入的订单号格式不正确，请重新输入核对";
		public static final String  EXCHANGE_ORDER_PAYAMOUNT_ILLEGAL = "您输入的订单价格不正确，请重新输入";

		public static final String  EXCHANGE_VERIFY_ORDERNO_MANUAL = "核对订单API出错，需手动提交订单号";

		public static final String  EXCHANGE_SKIP_VERIFY_TKL = "当前核对口令人数过多，请自行确认商品无误，可继续进行下一步";


		public static final String  EXCHANGED_IN_OTHER_PLATFORM = "您近期已在其它平台购买过该店铺的商品，暂时不能进行复购";


	}
}
